package heap

import "fanshuai-go/common"

type IHeap interface {
	add(data common.Comparable) bool

	pop() common.Comparable
	peek() common.Comparable

	size() int
	isEmpty() bool
	isFull() bool
}
